package com.gba.mark.exam.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("exam_questions")
public class ExamQuestions implements Serializable{

    private static final long serialVersionUID = 1L;


    @TableId(value = "id",type = IdType.AUTO)
    //主键
    private  Integer id ;

    //题目
    private String questions;

    //正确答案
    private String answer;


}